'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);

  // router.get('/test', controller.home.test);
  router.get('/pay', controller.pay.index);
  router.get('/auth', controller.auth.index);

  router.post('/api', controller.api.index);

  router.post('/getJsConfig', controller.api.getJsConfig);
  
};
